package com.ruibang.glass.material.service.cp;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.material.domain.req.bcp.BcpProductsOutReq;
import com.ruibang.glass.material.domain.req.bcp.ManageBCPOutInReq;
import com.ruibang.glass.material.dto.BCPOutAndInManagementDTO;
import com.ruibang.glass.material.entity.bcp.MaterialBcpProductsOut;
import com.ruibang.glass.material.entity.cp.MaterialCPProductsOut;

/**
 * <p>
 * 半成品出库详情 服务类
 * </p>
 *
 * @author mameng
 * @since 2024-04-02
 */
public interface MaterialCPProductsOutService extends IService<MaterialCPProductsOut> {

    IPage<MaterialCPProductsOut> getPage(BcpProductsOutReq bcpProductsOutReq);

    IPage<BCPOutAndInManagementDTO> getPage(ManageBCPOutInReq manageBCPOutInReq);

    void addMaterialCPProductsOut(MaterialCPProductsOut materialBcpProductsOut);

    void updateItemHouse(MaterialCPProductsOut materialBcpProductsOut);

    void updateMaterialCpProductsInInfoList(MaterialCPProductsOut materialCPProductsOut);

    MaterialCPProductsOut getMaterialMaterialCPProductsOutById(String id);

    void processNotice(String name);
}
